package com.cqfae.deploycentral.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by YANGHENG940 on 2017/7/21.
 */
@Component
@ConfigurationProperties(prefix = "jenkins")
public class JenkinsInfo {

    private String callBackHost;

    private String callBackMethod;

    private String inspectCallBackMethod;

    private String inspectCallJob;

    private String inspectCallMaxRepeatCount;

    private String inspectCallWaitTime;

    private String host;

    private String token;

    private String env;

    private String lastBuildUrl;

    private String lastLogUrl;

    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getCallBackHost() {
        return callBackHost;
    }

    public void setCallBackHost(String callBackHost) {
        this.callBackHost = callBackHost;
    }

    public String getCallBackMethod() {
        return callBackMethod;
    }

    public void setCallBackMethod(String callBackMethod) {
        this.callBackMethod = callBackMethod;
    }

    public String getLastBuildUrl() {
        return lastBuildUrl;
    }

    public void setLastBuildUrl(String lastBuildUrl) {
        this.lastBuildUrl = lastBuildUrl;
    }

    public String getLastLogUrl() {
        return lastLogUrl;
    }

    public void setLastLogUrl(String lastLogUrl) {
        this.lastLogUrl = lastLogUrl;
    }

    public String getInspectCallBackMethod() {
        return inspectCallBackMethod;
    }

    public void setInspectCallBackMethod(String inspectCallBackMethod) {
        this.inspectCallBackMethod = inspectCallBackMethod;
    }

    public String getInspectCallJob() {
        return inspectCallJob;
    }

    public void setInspectCallJob(String inspectCallJob) {
        this.inspectCallJob = inspectCallJob;
    }

    public String getInspectCallMaxRepeatCount() {
        return inspectCallMaxRepeatCount;
    }

    public void setInspectCallMaxRepeatCount(String inspectCallMaxRepeatCount) {
        this.inspectCallMaxRepeatCount = inspectCallMaxRepeatCount;
    }

    public String getInspectCallWaitTime() {
        return inspectCallWaitTime;
    }

    public void setInspectCallWaitTime(String inspectCallWaitTime) {
        this.inspectCallWaitTime = inspectCallWaitTime;
    }
}
